package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.Panner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PannerMapper {
    int deleteByPrimaryKey(Integer pannerId);

    int insert(Panner record);

    int insertSelective(Panner record);

    Panner selectByPrimaryKey(Integer pannerId);

    int updateByPrimaryKeySelective(Panner record);

    int updateByPrimaryKeyWithBLOBs(Panner record);

    int updateByPrimaryKey(Panner record);

    //查询Panner
    List<Panner> selectPanners(@Param("pannerActiveSign") int pannerActiveSign);
}